<template>
  <div>
    <div class="wrap">
      <image-croper url="https://huoke.raiseinfo.cn/mycustomer-platform/api/sys/oss/upload"
                    @getResult="getResult" />
    </div>
  </div>
</template>

<script>
import imageCroper from './imageCroper'
export default {
  components: {
    imageCroper
  },
  data: function () {
    return {

    }
  },
  created () {

  },
  methods: {
    getResult (value) {
      console.log(value)
    }
  }
}
</script>

<style type="text/css" >
.wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
</style>
